package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class UserInformationBase{
	boolean[] modified=new boolean[6];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public UserInformationBase(){}
	public UserInformationBase(java.lang.Long userId,java.lang.String infoKey,java.lang.String infoValue,java.lang.Long relationRepository,java.lang.Long realmType,java.lang.Long realmId){
		setUserId(userId);
		setInfoKey(infoKey);
		setInfoValue(infoValue);
		setRelationRepository(relationRepository);
		setRealmType(realmType);
		setRealmId(realmId);
	}
	public void setUserId(java.lang.Long userId){
		if(userId!=null) {
			set("userId",userId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getUserId(){
		return (java.lang.Long)get("userId");
	}
	public void setInfoKey(java.lang.String infoKey){
		if(infoKey!=null) {
			set("infoKey",infoKey);
			this.modified[1] =true;
		}
	}
	public java.lang.String getInfoKey(){
		return (java.lang.String)get("infoKey");
	}
	public void setInfoValue(java.lang.String infoValue){
		if(infoValue!=null) {
			set("infoValue",infoValue);
			this.modified[2] =true;
		}
	}
	public java.lang.String getInfoValue(){
		return (java.lang.String)get("infoValue");
	}
	public void setRelationRepository(java.lang.Long relationRepository){
		if(relationRepository!=null) {
			set("relationRepository",relationRepository);
			this.modified[3] =true;
		}
	}
	public java.lang.Long getRelationRepository(){
		return (java.lang.Long)get("relationRepository");
	}
	public void setRealmType(java.lang.Long realmType){
		if(realmType!=null) {
			set("realmType",realmType);
			this.modified[4] =true;
		}
	}
	public java.lang.Long getRealmType(){
		return (java.lang.Long)get("realmType");
	}
	public void setRealmId(java.lang.Long realmId){
		if(realmId!=null) {
			set("realmId",realmId);
			this.modified[5] =true;
		}
	}
	public java.lang.Long getRealmId(){
		return (java.lang.Long)get("realmId");
	}
}
